package com.tao.graduation.Pojo;

import lombok.Data;

import java.util.Date;

/**
 * 预约记录
 */
@Data
public class Appointment {
    private Integer id;
    private Integer patientId;
    private Integer doctorId;
    private String time;
    private Float expenses;
    private String state;

    public Appointment(Integer patientId, Integer doctorId, String time, Float expenses) {
        this.patientId = patientId;
        this.doctorId = doctorId;
        this.time = time;
        this.expenses = expenses;
    }
}
